laravel sanctum Provoking tokens

32

// Revoke all tokens...
$user->tokens()->delete();

// Revoke a specific token...
$user->tokens()->where('id', $tokenId)->delete();

Comments

Submit
0 Comments